﻿
namespace WcfServiceDemo
{
    public class Calculator : ICalculator
    {
        #region ICalculator Members
        public double AddNumbers(double number1, double number2)
        {
            return number1 + number2;
        }

        public double SubstractNumbers(double number1, double number2)
        {
            return number1 - number2;
        }

        public double MultiplyNumbers(double number1, double number2)
        {
            return number1 * number2;
        }

        public double DivisionNumbers(double number1, double number2)
        {
            return number1 / number2;
        }
        #endregion
    }
}
